package com.parenting.entities;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.Version;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 免费体
 * </p>
 *
 * @author 烟台业达-王世玺
 * @since 2021-08-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("activity_free")
@ApiModel(value="ActivityFreeDO对象", description="免费体")
public class ActivityFreeDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "ACTIVITY_FREE_ID", type = IdType.ASSIGN_ID)
    private String activityFreeId;

    @ApiModelProperty(value = "商品ID")
    private String commodityId;

    @ApiModelProperty(value = "活动ID")
    private String activityId;


    @ApiModelProperty(value = "商品名称")
    private String commodityName;

    @ApiModelProperty(value = "商品数量")
    private Integer  commodityNumber;


    @ApiModelProperty(value = "商店ID")
    private String shopId;

    @ApiModelProperty(value = "每人限购")
    private Integer limitedQuantity;

    @ApiModelProperty(value = "实际价格")
    private Integer actualPrice;

    @ApiModelProperty(value = "原价")
    private Integer originalPrice;

    @ApiModelProperty(value = "报警通知（限制条数）")
    private Integer notice;

    @ApiModelProperty(value = "是否连带赠（1是，2否）")
    private Integer isNotGift;

    @ApiModelProperty(value = "乐观锁")
    @Version
    private Integer revision;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "更新人")
    private String updatedBy;

    @ApiModelProperty(value = "更新时间")
    private Date updatedTime;


}
